package week4;

/**
 * Created by dell on 2017/3/17.
 */
public class ConstructorExample {
    class Some {
        Some(){
            System.out.println("调用Some()");
        }
        Some(int i){
            System.out.println("调用Some(int i)");
        }
    }
    class Other extends Some {
        Other() {
            super(10);
            System.out.println("调用Other()");
        }
    }
}
